﻿using AutoMapper;
using Navigant.DataContracts;
using Navigant.Infrastructure.ClientPortals;

namespace Navigant.Mapping
{
    public class ClientPortalConverter : ITypeConverter<IClientPortal, PortalContract>
    {
        #region ITypeConverter<IClientPortal,PortalContract> Members

        public PortalContract Convert(IClientPortal source)
        {
            return Converter.ToPortalContract(source);
        }

        #endregion
    }
}
